<template>
  <div class="about-container">
    <!-- 导航栏 -->
    <Navbar />
    
    <!-- 主标题区域 -->
    <div class="hero-section">
      <div class="container">
        <div class="hero-content">
          <div class="hero-icon">
            <el-icon><Cpu /></el-icon>
          </div>
          <h1>关于PCB芯选</h1>
          <p class="hero-subtitle">专业的PCB采购平台，致力于为客户提供高品质电路板一站式选购服务</p>
        </div>
      </div>
    </div>

    <!-- 公司介绍 -->
    <div class="company-intro-section">
      <div class="container">
        <div class="section-header">
          <h2>
            <el-icon><Building /></el-icon>
            公司简介
          </h2>
        </div>
        <div class="intro-content">
          <div class="intro-text">
            <p>
              PCB芯选成立于2020年，是一家专注于PCB（印刷电路板）采购与供应链管理的创新型企业。
              我们致力于为电子制造商、研发工程师、创客群体提供高品质、多规格的PCB产品和专业的技术服务。
            </p>
            <p>
              公司拥有完善的供应链网络，与全球超过500家优质PCB制造商建立了长期合作关系，
              能够提供从原型验证到批量生产的全方位PCB解决方案。我们的产品涵盖单面板、双面板、
              多层板、HDI板、柔性板、刚柔结合板等各类PCB产品。
            </p>
          </div>
          <div class="intro-stats">
            <div class="stat-item">
              <div class="stat-number">10W+</div>
              <div class="stat-label">PCB型号</div>
            </div>
            <div class="stat-item">
              <div class="stat-number">500+</div>
              <div class="stat-label">合作厂商</div>
            </div>
            <div class="stat-item">
              <div class="stat-number">99.8%</div>
              <div class="stat-label">交付准时率</div>
            </div>
            <div class="stat-item">
              <div class="stat-number">100%</div>
              <div class="stat-label">原厂正品</div>
            </div>
          </div>
        </div>
      </div>
    </div>

    <!-- 核心优势 -->
    <div class="advantages-section">
      <div class="container">
        <div class="section-header">
          <h2>
            <el-icon><Star /></el-icon>
            核心优势
          </h2>
          <p class="section-subtitle">三大核心优势，为您提供专业可靠的PCB采购服务</p>
        </div>
        <div class="advantages-grid">
          <div class="advantage-card">
            <div class="advantage-icon">
              <el-icon><Box /></el-icon>
            </div>
            <h3>海量库存</h3>
            <p>超过10万种PCB型号现货库存，涵盖各种规格和工艺，满足不同应用需求</p>
          </div>
          <div class="advantage-card">
            <div class="advantage-icon">
              <el-icon><CircleCheck /></el-icon>
            </div>
            <h3>品质保证</h3>
            <p>严格的质量管控体系，100%原厂正品保证，通过ISO9001、ISO14001认证</p>
          </div>
          <div class="advantage-card">
            <div class="advantage-icon">
              <el-icon><Tools /></el-icon>
            </div>
            <h3>技术支持</h3>
            <p>专业的技术团队提供7×24小时技术支持，协助客户解决设计和应用问题</p>
          </div>
        </div>
      </div>
    </div>

    <!-- 发展历程 -->
    <div class="timeline-section">
      <div class="container">
        <div class="section-header">
          <h2>
            <el-icon><Calendar /></el-icon>
            发展历程
          </h2>
          <p class="section-subtitle">从创业初期到行业领先，见证我们的成长足迹</p>
        </div>
        <div class="timeline">
          <div class="timeline-item">
            <div class="timeline-date">2020年</div>
            <div class="timeline-content">
              <h3>公司成立</h3>
              <p>PCB芯选正式成立，开始专注于PCB采购服务领域</p>
            </div>
          </div>
          <div class="timeline-item">
            <div class="timeline-date">2021年</div>
            <div class="timeline-content">
              <h3>平台上线</h3>
              <p>自主研发的PCB采购平台正式上线，首批合作厂商达到100家</p>
            </div>
          </div>
          <div class="timeline-item">
            <div class="timeline-date">2022年</div>
            <div class="timeline-content">
              <h3>业务扩展</h3>
              <p>业务范围扩展至全国，建立华东、华南、华北三大仓储中心</p>
            </div>
          </div>
          <div class="timeline-item">
            <div class="timeline-date">2023年</div>
            <div class="timeline-content">
              <h3>技术升级</h3>
              <p>引入AI智能推荐系统，大幅提升客户采购效率和体验</p>
            </div>
          </div>
          <div class="timeline-item">
            <div class="timeline-date">2024年</div>
            <div class="timeline-content">
              <h3>国际化布局</h3>
              <p>启动国际化战略，与全球优质PCB制造商建立合作关系</p>
            </div>
          </div>
        </div>
      </div>
    </div>

    <!-- 团队介绍 -->
    <div class="team-section">
      <div class="container">
        <div class="section-header">
          <h2>
            <el-icon><User /></el-icon>
            核心团队
          </h2>
          <p class="section-subtitle">由资深行业专家组成的专业团队</p>
        </div>
        <div class="team-grid">
          <div class="team-member">
            <div class="member-avatar">
              <el-icon><Avatar /></el-icon>
            </div>
            <div class="member-info">
              <h3>张总</h3>
              <p class="member-title">创始人 & CEO</p>
              <p class="member-desc">15年PCB行业经验，曾任职于知名电子制造企业，深耕供应链管理领域</p>
            </div>
          </div>
          <div class="team-member">
            <div class="member-avatar">
              <el-icon><Avatar /></el-icon>
            </div>
            <div class="member-info">
              <h3>李总</h3>
              <p class="member-title">技术总监</p>
              <p class="member-desc">12年软件开发经验，专注于电商平台架构设计和大数据分析</p>
            </div>
          </div>
          <div class="team-member">
            <div class="member-avatar">
              <el-icon><Avatar /></el-icon>
            </div>
            <div class="member-info">
              <h3>王总</h3>
              <p class="member-title">运营总监</p>
              <p class="member-desc">10年供应链运营经验，擅长供应商管理和质量控制体系建设</p>
            </div>
          </div>
          <div class="team-member">
            <div class="member-avatar">
              <el-icon><Avatar /></el-icon>
            </div>
            <div class="member-info">
              <h3>刘总</h3>
              <p class="member-title">市场总监</p>
              <p class="member-desc">8年市场营销经验，专注于B2B市场开拓和客户关系管理</p>
            </div>
          </div>
        </div>
      </div>
    </div>

    <!-- 联系我们 -->
    <div class="contact-section">
      <div class="container">
        <div class="section-header">
          <h2>
            <el-icon><Phone /></el-icon>
            联系我们
          </h2>
          <p class="section-subtitle">期待与您的合作，共创美好未来</p>
        </div>
        <div class="contact-grid">
          <div class="contact-item">
            <div class="contact-icon">
              <el-icon><Location /></el-icon>
            </div>
            <div class="contact-info">
              <h3>公司地址</h3>
              <p>上海市浦东新区张江高科技园区<br/>科苑路88号PCB大厦15楼</p>
            </div>
          </div>
          <div class="contact-item">
            <div class="contact-icon">
              <el-icon><Phone /></el-icon>
            </div>
            <div class="contact-info">
              <h3>联系电话</h3>
              <p>客服热线：400-888-8888<br/>技术支持：021-58888888</p>
            </div>
          </div>
          <div class="contact-item">
            <div class="contact-icon">
              <el-icon><Message /></el-icon>
            </div>
            <div class="contact-info">
              <h3>邮箱地址</h3>
              <p>商务合作：business@pcbchoice.com<br/>技术支持：support@pcbchoice.com</p>
            </div>
          </div>
          <div class="contact-item">
            <div class="contact-icon">
              <el-icon><Clock /></el-icon>
            </div>
            <div class="contact-info">
              <h3>服务时间</h3>
              <p>工作日：9:00-18:00<br/>技术支持：7×24小时</p>
            </div>
          </div>
        </div>
      </div>
    </div>

    <!-- 页脚 -->
    <div class="footer-section">
      <div class="container">
        <div class="footer-content">
          <div class="footer-logo">
            <el-icon><Cpu /></el-icon>
            <span>PCB芯选</span>
          </div>
          <p class="footer-text">专业的PCB采购平台，高品质电路板一站式选购</p>
          <p class="footer-copyright">© 2024 PCB芯选. All rights reserved.</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import { 
  Cpu, Building, Star, Box, CircleCheck, Tools, 
  Calendar, User, Avatar, Phone, Location, Message, Clock 
} from '@element-plus/icons-vue'
import Navbar from '@/components/Navbar.vue'

export default {
  name: 'AboutView',
  components: {
    Navbar,
    Cpu,
    Building,
    Star,
    Box,
    CircleCheck,
    Tools,
    Calendar,
    User,
    Avatar,
    Phone,
    Location,
    Message,
    Clock
  }
}
</script>

<style scoped>
.about-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 主标题区域 */
.hero-section {
  padding: 80px 0;
  text-align: center;
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.hero-icon {
  font-size: 80px;
  color: #00D4FF;
  margin-bottom: 30px;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #00D4FF 0%, #64b5f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #b0bec5;
  line-height: 1.6;
}

/* 通用区域样式 */
.company-intro-section,
.advantages-section,
.timeline-section,
.team-section,
.contact-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.section-header h2 .el-icon {
  color: #00D4FF;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #b0bec5;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 公司介绍 */
.intro-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-text p {
  font-size: 1.1rem;
  color: #b0bec5;
  line-height: 1.8;
  margin-bottom: 20px;
}

.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #00D4FF;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 500;
}

/* 核心优势 */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.advantage-card {
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.advantage-card:hover {
  transform: translateY(-10px);
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.advantage-icon {
  font-size: 60px;
  color: #00D4FF;
  margin-bottom: 25px;
}

.advantage-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
}

.advantage-card p {
  font-size: 1rem;
  color: #b0bec5;
  line-height: 1.6;
}

/* 发展历程 */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #00D4FF, #64b5f6);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-date {
  flex: 0 0 120px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #00D4FF;
  text-align: center;
  background: rgba(0, 212, 255, 0.1);
  border: 2px solid #00D4FF;
  border-radius: 50px;
  padding: 10px 20px;
  position: relative;
  z-index: 2;
}

.timeline-content {
  flex: 1;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  margin: 0 40px;
  backdrop-filter: blur(10px);
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 1rem;
  color: #b0bec5;
  line-height: 1.6;
}

/* 团队介绍 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.team-member {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.team-member:hover {
  transform: translateY(-5px);
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 15px 30px rgba(0, 212, 255, 0.2);
}

.member-avatar {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #00D4FF, #64b5f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #ffffff;
}

.member-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 5px;
}

.member-title {
  font-size: 1rem;
  color: #00D4FF;
  font-weight: 500;
  margin-bottom: 10px;
}

.member-desc {
  font-size: 0.9rem;
  color: #b0bec5;
  line-height: 1.5;
}

/* 联系我们 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-item:hover {
  transform: translateY(-5px);
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
}

.contact-icon {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #00D4FF, #64b5f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
}

.contact-info h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.contact-info p {
  font-size: 1rem;
  color: #b0bec5;
  line-height: 1.6;
}

/* 页脚 */
.footer-section {
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
}

.footer-content {
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #00D4FF;
  margin-bottom: 15px;
}

.footer-logo .el-icon {
  font-size: 2rem;
}

.footer-text {
  font-size: 1.1rem;
  color: #b0bec5;
  margin-bottom: 20px;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #78909c;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-section h1 {
    font-size: 2.2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .intro-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .intro-stats {
    grid-template-columns: 1fr 1fr;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    flex-direction: row !important;
    padding-left: 60px;
  }
  
  .timeline-date {
    position: absolute;
    left: -60px;
    flex: none;
    width: 80px;
    font-size: 0.9rem;
    padding: 5px 10px;
  }
  
  .timeline-content {
    margin: 0;
  }
  
  .team-member {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 60px 0;
  }
  
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
    flex-direction: column;
    gap: 10px;
  }
  
  .intro-stats {
    grid-template-columns: 1fr;
  }
  
  .company-intro-section,
  .advantages-section,
  .timeline-section,
  .team-section,
  .contact-section {
    padding: 60px 0;
  }
}
</style>
